@extends('layout/default')

@section('content')
<div class="container ">
    <div clas="row ">

        <div class="col-xs-12" style="padding: 0">
            <h5>订单详情:</h5>
            <table class="table">
                <tr>
                    <th>场地</th>
                    <th>场馆</th>
                    <th>日期</th>
                    <th>开始</th>
                    <th>结束</th>
                    <th>金额</th>
                </tr>
                @foreach($details as $v)
                <tr>
                    <td>{{$v->SName}}</td>
                    <td>{{App\Http\Models\Space::getSiteName($v->SSiteID)}}</td>
                    <td>{{$v->TODDate}}</td>
                    <td>{{$v->TODBeginAt}}</td>
                    <td>{{$v->TODEndAt}}</td>
                    <td>{{$v->TODPrice}}</td>
                </tr>
                @endforeach
            </table>
            <hr/>
            订单金额：{{$data->SOAmount}}&nbsp;&nbsp;&nbsp;&nbsp;订单时间:{{$data->created_at}}
        </div>


    </div>

</div>
@endsection
